package org.example.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.example.entity.Invitation;
import org.example.exception.PermissionsDenyException;
import org.example.exception.SenderIdException;
import org.example.vo.InvitationVo;

import java.util.List;

public interface InvitationService extends IService<Invitation> {
    void sendInvitation(InvitationVo invitationVo) throws PermissionsDenyException, SenderIdException;


    List<InvitationVo> checkAllReceive();

    void receiveInvitation(int invitationId) throws PermissionsDenyException;
}
